package com.chuangke.admin.constant;

/**
 * 常量管理
 *
 * @author chuangke
 * @date Oct 29, 2018
 */
public interface SysConstant {

	/**
	 * 系统管理员用户名
	 */
	String ADMIN = "admin";
	String LOGIN_PERMS = "login:action";
	
	/**
	 * 日历管理常量
	 */
	String WORK_TYPE_ZM = "zm";
	String WORK_TYPE_GZR = "gz";
	String WORK_TYPE_TX = "tx";
	String WORK_TYPE_SB = "sb";
	String WORK_TYPE_QX = "qx";

	String FESTIVAL_TYPE_RC = "rc";
	String FESTIVAL_TYPE_YD = "yd";
	String FESTIVAL_TYPE_CJ = "cj";
	String FESTIVAL_TYPE_QM = "qm";
	String FESTIVAL_TYPE_LD = "ld";
	String FESTIVAL_TYPE_DW = "dw";
	String FESTIVAL_TYPE_ZQ = "zq";
	String FESTIVAL_TYPE_GQ = "gq";
	/**
	 * 新增或编辑标识
	 */
	String OPERATE_ADD = "0";
	String OPERATE_EDIT = "1";

	/**
	 * 权限标识(01:查看全部;02:自选部门;03:所在部门;04:所在部门及子部门;05:所在一级单位;06:所在二级单位;07:所在三级单位)
	 */
	String RULE_All = "01";
	String RULE_CUSTOM_DEPT = "02";
	String RULE_LOCAL_DEPT = "03";
	String RULE_LOCAL_SON_DEPT = "04";
	String RULE_LOCAL_ONE_LEVEL = "05";
	String RULE_LOCAL_TWO_LEVEL = "06";
	String RULE_LOCAL_THREE_LEVEL = "07";

	/**
	 * 权限类型
	 */
	String RULE_TYPE_DATA = "D";
	String RULE_TYPE_AUDIT = "A";

	/**
	 * 登录方式
	 */
	String LOGIN_TYPE_BROWSER = "browser";
	String LOGIN_TYPE_DINGTALK = "dingtalk";

}
